package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * TODO
 *
 * @Author mr.wu
 * @Data #{DATE} #{TIME}
 */
@Mapper
public interface UserMapper {

    User getByOpenId(String openId);

    void insert(User user);

    User getById(Long userId);

    Integer sumUser();

    Integer newUser();
}
